package com.getword.service;

import com.getword.domain.Comments;
import com.getword.domain.Reply;
import com.getword.web.model.Result;

public interface CommentsService {
    /**
     * 根据文章ID获取文章评论信息
     * @param articleId
     * @return
     */
    Result getCommentsByArticleId(String articleId);

    /**
     * 添加评论
     */
    Result saveComments(Comments comments);

    /**
     * 添加回复
     */
    Result saveReply(Reply reply, String commentId);
}
